#include "DataStructure/Result/ElementalForce/SHEARForceData.h"

#include "DataStructure/Common/Validation.h"

using namespace SG::DataStructure::Post;

bool SG::DataStructure::Post::operator== (const SHEARForceData& val1, const SHEARForceData& val2)
{
    FIELD_COMPARE (m_eId)
    FIELD_COMPARE (m_F41)
    FIELD_COMPARE (m_F21)
    FIELD_COMPARE (m_F12)
    FIELD_COMPARE (m_F32)
    FIELD_COMPARE (m_F23)
    FIELD_COMPARE (m_F43)
    FIELD_COMPARE (m_F34)
    FIELD_COMPARE (m_F14)
    FIELD_COMPARE (m_KF1)
    FIELD_COMPARE (m_S12)
    FIELD_COMPARE (m_KF2)
    FIELD_COMPARE (m_S23)
    FIELD_COMPARE (m_KF3)
    FIELD_COMPARE (m_S34)
    FIELD_COMPARE (m_KF4)
    FIELD_COMPARE (m_S41)
    FIELD_COMPARE (m_domainId)  // NOLINT(readability-simplify-boolean-expr)
    return true;
}

bool SG::DataStructure::Post::operator< (const SHEARForceData& a, const SHEARForceData& b)
{
    return a.m_eId < b.m_eId;
}
